From 5a5737e3b6bf400811c32bdfc51dbd6581f9e149 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 21 Sep 2011 00:14:02 +0200 Subject: [PATCH] fontchooser: Fix leak the path variable is set, not filled in. --- gtk/gtkfontchooserwidget.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/gtkfontchooserwidget.c b/gtk/gtkfontchooserwidget.c index f99ec35851..f80c900213 100644 --- a/gtk/gtkfontchooserwidget.c +++ b/gtk/gtkfontchooserwidget.c @@ -374,7 +374,7 @@ cursor_changed_cb (GtkTreeView *treeview, gint i, n_sizes; GtkTreeIter iter; - GtkTreePath *path = gtk_tree_path_new (); + GtkTreePath *path = NULL; gtk_tree_view_get_cursor (treeview, &path, NULL); -- 2.30.2